import request from '@/utils-shop/request'

// api地址
const api = {
  list: 'pet/list',
  detail: 'pet/detail'
}

// 收货地址列表
export const list = (param) => {
  return request.get(api.list, param)
}

// 收货地址详情
export const detail = (petId) => {
  return request.get(api.detail, { petId })
}
